package com.xiongtian.springframework.beans.factory;

import com.xiongtian.springframework.beans.Aware;
import com.xiongtian.springframework.beans.BeansException;

/**
 * @Author: xiongtian
 * @CreateTime: 2025-04-02  09:44
 * @Version: 1.0
 * @Description: 容器感知类
 */

public interface BeanFactoryAware extends Aware {

    /**
     * 设置 BeanFactory
     *
     * @param beanFactory BeanFactory
     * @throws BeansException 异常
     */
    void setBeanFactory(BeanFactory beanFactory) throws BeansException;
}
